package xyz.ylx.proxy.select;

import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

@Aspect
class MyAspect {
    @Before("execution(* foo())")
    public void before() {
        System.out.println("前置增强");
    }

    @After("execution(* foo())")
    public void after() {
        System.out.println("后置增强");
    }
}
